package com.xiaoxu.content.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xiaoxu.content.model.po.CourseTeacher;

import java.util.List;

/**
 * <p>
 * 课程-教师关系表 服务类
 * </p>
 *
 * @author xiaoxu
 * @since 2023-01-15
 */
public interface CourseTeacherService extends IService<CourseTeacher> {

    /**
     * @description 查询课程教学教师
     * @param courseId 课程Id
     * @return 课程教师信息集合
     */
    List<CourseTeacher> findCourseTeacherList(Long courseId);

    /**
     * @description 新增或更新教学师资
     * @param courseTeacher 课程教师信息
     */
    void saveOrUpdateCourseTeacher(CourseTeacher courseTeacher);

    /**
     * @description 删除教学师资
     * @param courseId 课程Id
     * @param teacherId 教师Id
     */
    void deleteCourseTeacher(Long courseId, Long teacherId);
}
